package com.opal.system.mapper.mysql;

import com.opal.system.entity.table.OpalPermission;
import com.opal.system.entity.table.OpalPermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OpalPermissionMapper {
    int countByExample(OpalPermissionExample example);

    int deleteByExample(OpalPermissionExample example);

    int deleteByPrimaryKey(Long permissionId);

    int insert(OpalPermission record);

    int insertSelective(OpalPermission record);

    List<OpalPermission> selectByExample(OpalPermissionExample example);

    OpalPermission selectByPrimaryKey(Long permissionId);

    int updateByExampleSelective(@Param("record") OpalPermission record, @Param("example") OpalPermissionExample example);

    int updateByExample(@Param("record") OpalPermission record, @Param("example") OpalPermissionExample example);

    int updateByPrimaryKeySelective(OpalPermission record);

    int updateByPrimaryKey(OpalPermission record);
}